# change copy to cp
# mask "if exist" line
perl Configure mingw no-shared no-asm --prefix=/c/OpenSSL

make -f ms/mingw32a.mak
dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def out/libcrypto.a -lws2_32 -lgdi32
dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def out/libssl.a out/libeay32.a